package com.example.kddemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@CrossOrigin("*")
@RequestMapping(value = "/")
public class Index {

    @RequestMapping("/index")
    @ResponseBody
    public Object index() {


        return "kdzy2";
    }



}
